package runTime;

import TAProgram.IR;

public class BlockToCode {
    public static String genCode(){
        String IRCodes = "";
        for(var block : IR.basicBlocks){
            if(IR.vis.get(block) == null){
                IRCodes += block.toString();
                IR.vis.put(block,true);
            }
        }
        IR.IRCodes = IRCodes;
        return IRCodes;
    }
}
